<!DOCTYPE html>
<html lang="en" class="light">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sprunki Phase 3 - Interactive Music Creation Game</title>
    <meta name="description" content="Experience Sprunki Phase 3, the innovative music creation game where rhythm meets creativity. Create, mix, and share your unique musical compositions in this interactive platform.">
    <meta name="keywords" content="Sprunki Phase 3, interactive music game, rhythm game, music creation, Sprunki game, musical composition">
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="shortcut icon" href="/images/favicon.ico" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css">
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        dark: {
                            bg: '#1a1a1a',
                            text: '#ffffff',
                            nav: '#2d2d2d'
                        }
                    }
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .dark .dark-mode-content {
                @apply bg-dark-bg text-dark-text;
            }
            .dark .dark-mode-nav {
                @apply bg-dark-nav border-gray-700;
            }
        }

        /* Add responsive iframe height */
        @media (max-width: 768px) {
            #game-iframe {
                height: 80vh !important;
            }
        }
    </style>
</head>
<body class="bg-gray-50 dark:bg-dark-bg transition-colors duration-200">
    <!-- Navigation -->
    <nav class="bg-white dark:bg-dark-nav shadow-lg fixed w-full z-50 transition-colors duration-200">
        <div class="max-w-7xl mx-auto px-4">
            <div class="flex justify-between items-center h-16">
                <div class="flex-shrink-0 flex items-center space-x-2">
                    <img src="/images/logo.png" alt="Sprunki Logo" class="w-8 h-8 md:w-10 md:h-10" />
                    <a href="/" class="text-2xl font-bold text-indigo-600 dark:text-indigo-400">Sprunki Phase 3</a>
                </div>
                <div class="flex items-center">
                    <!-- Language Switcher -->
                    <div class="relative mr-4">
                        <button id="language-switcher" class="flex items-center space-x-2 px-3 py-2 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700">
                            <span class="flag-icon flag-icon-us"></span>
                            <span class="hidden sm:inline">English</span>
                            <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
                            </svg>
                        </button>
                        <div id="language-dropdown" class="hidden absolute right-0 mt-2 py-2 w-48 bg-white dark:bg-gray-800 rounded-lg shadow-xl">
                            <a href="/lang/en" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-us mr-2"></span>
                                <span>English</span>
                            </a>
                            <a href="/lang/zh-TW" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-tw mr-2"></span>
                                <span>繁體中文</span>
                            </a>
                            <a href="/lang/zh-CN" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-cn mr-2"></span>
                                <span>简体中文</span>
                            </a>
                            <a href="/lang/fr" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-fr mr-2"></span>
                                <span>Français</span>
                            </a>
                            <a href="/lang/de" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-de mr-2"></span>
                                <span>Deutsch</span>
                            </a>
                            <a href="/lang/pt" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-pt mr-2"></span>
                                <span>Português</span>
                            </a>
                            <a href="/lang/ar" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-sa mr-2"></span>
                                <span>العربية</span>
                            </a>
                            <a href="/lang/es" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-es mr-2"></span>
                                <span>Español</span>
                            </a>
                            <a href="/lang/ja" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-jp mr-2"></span>
                                <span>日本語</span>
                            </a>
                            <a href="/lang/ko" class="flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-700">
                                <span class="flag-icon flag-icon-kr mr-2"></span>
                                <span>한국어</span>
                            </a>
                        </div>
                    </div>
                    <!-- Theme Toggle Button -->
                    <button id="theme-toggle" class="p-2 rounded-lg text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:focus:ring-gray-700 mr-2">
                        <!-- Sun icon -->
                        <svg id="theme-toggle-light-icon" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
                            <path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"/>
                        </svg>
                        <!-- Moon icon -->
                        <svg id="theme-toggle-dark-icon" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
                            <path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"/>
                        </svg>
                    </button>
                    <a href="faqs.html" class="hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400 px-3 py-2 md:hidden">FAQs</a>
                    <button type="button" class="md:hidden inline-flex items-center p-2 rounded-md text-gray-600 dark:text-gray-300 hover:text-indigo-600 dark:hover:text-indigo-400 hover:bg-gray-100 dark:hover:bg-gray-700" onclick="toggleMobileMenu()">
                        <svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/>
                        </svg>
                    </button>
                    <div class="hidden md:flex md:items-center md:ml-6 space-x-4">
                        <a href="about.html" class="hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400 px-3 py-2">About</a>
                        <a href="blog.html" class="hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400 px-3 py-2">Blog</a>
                        <a href="contact.html" class="hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400 px-3 py-2">Contact</a>
                        <a href="faqs.html" class="hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400 px-3 py-2">FAQs</a>
                    </div>
                </div>
            </div>
            <div class="md:hidden hidden transition-all duration-300 ease-in-out" id="mobile-menu">
                <div class="px-2 pt-2 pb-3 space-y-1 border-t border-gray-200 dark:border-gray-700">
                    <a href="about.html" class="block px-3 py-2 hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400">About</a>
                    <a href="blog.html" class="block px-3 py-2 hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400">Blog</a>
                    <a href="contact.html" class="block px-3 py-2 hover:text-indigo-600 dark:text-gray-300 dark:hover:text-indigo-400">Contact</a>
                </div>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <section class="pt-20 pb-12 md:pt-32 md:pb-20 bg-gradient-to-r from-indigo-500 to-purple-600 dark:bg-gradient-to-r dark:from-indigo-900 dark:to-purple-900">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center">
                <h1 class="text-4xl md:text-6xl font-bold text-white dark:text-gray-200 mb-6">Welcome to Sprunki Phase 3</h1>
                <p class="text-xl text-white dark:text-gray-300 mb-8">Create, Mix, and Experience Interactive Music Like Never Before</p>
                <a href="#play" class="bg-white dark:bg-gray-700 text-indigo-600 dark:text-indigo-400 px-8 py-3 rounded-full font-semibold hover:bg-indigo-50 dark:hover:bg-gray-600 transition duration-300">Play Now</a>
            </div>
        </div>
    </section>

    <!-- Game Section -->
    <section id="play" class="py-16 bg-white dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="relative">
                <iframe src="https://game.sprunki-incredibox.org/sprunki/sprunki-phase-3.html" 
                    class="w-full rounded-lg shadow-xl" 
                    style="height: 600px;"
                    id="game-iframe" 
                    frameborder="0" 
                    allowfullscreen="">
                </iframe>
                <button onclick="toggleFullscreen()" class="absolute top-4 right-4 bg-white dark:bg-gray-700 p-2 rounded-full shadow-lg hover:bg-gray-100 dark:hover:bg-gray-600">
                    <i class="fas fa-expand text-indigo-600 dark:text-indigo-400"></i>
                </button>
            </div>
        </div>
    </section>

    <!-- About Section -->
    <section id="about" class="py-16 bg-gray-50 dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-900 dark:text-gray-200">About Sprunki Phase 3</h2>
            <div class="grid md:grid-cols-2 gap-12">
                <div>
                    <p class="text-lg mb-6 text-gray-600 dark:text-gray-300">Sprunki Phase 3 represents the evolution of interactive music creation, combining rhythm, creativity, and visual art into a unique gaming experience. This innovative platform allows players to become music producers through an intuitive drag-and-drop interface.</p>
                    <p class="text-lg mb-6 text-gray-600 dark:text-gray-300">In Sprunki Phase 3, each character represents different musical elements - from vocals and bass lines to rhythms and melodies. Players can mix and match these elements to create their own unique musical compositions, making every session a new creative adventure.</p>
                    <p class="text-lg text-gray-600 dark:text-gray-300">The game features enhanced visual effects, real-time music mixing capabilities, and an expanded library of sound elements, making it the most comprehensive version in the Sprunki series.</p>
                </div>
                <div class="space-y-6">
                    <div class="bg-white dark:bg-gray-700 p-6 rounded-lg shadow">
                        <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">Key Features of Sprunki Phase 3</h3>
                        <ul class="list-disc pl-6 space-y-2">
                            <li class="text-gray-600 dark:text-gray-300">Intuitive drag-and-drop interface</li>
                            <li class="text-gray-600 dark:text-gray-300">Rich variety of musical elements</li>
                            <li class="text-gray-600 dark:text-gray-300">Real-time music mixing</li>
                            <li class="text-gray-600 dark:text-gray-300">Enhanced visual effects</li>
                            <li class="text-gray-600 dark:text-gray-300">Recording and sharing capabilities</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- How to Sprunki Section -->
    <section class="py-16 bg-white dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-900 dark:text-gray-200">How to Sprunki</h2>
            <p class="text-xl text-center text-gray-600 dark:text-gray-300 mb-12">Creating sprunky beats is easy as 1-2-3-4!</p>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-md hover:shadow-lg transition duration-300">
                    <div class="text-4xl text-indigo-600 dark:text-indigo-400 mb-4">
                        <i class="fas fa-user-astronaut"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">1. Pick Your Character</h3>
                    <p class="text-gray-600 dark:text-gray-300">Pick your favorite Sprunki character from our wacky lineup.</p>
                </div>
                
                <div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-md hover:shadow-lg transition duration-300">
                    <div class="text-4xl text-indigo-600 dark:text-indigo-400 mb-4">
                        <i class="fas fa-music"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">2. Mix Your Beats</h3>
                    <p class="text-gray-600 dark:text-gray-300">Drag and drop to mix your beats. Go wild!</p>
                </div>
                
                <div class="text-center p-6 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-md hover:shadow-lg transition duration-300">
                    <div class="text-4xl text-indigo-600 dark:text-indigo-400 mb-4">
                        <i class="fas fa-magic"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">3. Add Some Magic</h3>
                    <p class="text-gray-600 dark:text-gray-300">Sprinkle in some Sprunki magic with our zany effects.</p>
                </div>
            </div>
        </div>
    </section>
    <!-- Video Section -->
    <section class="py-16 bg-white dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-900 dark:text-gray-200">Experience Sprunki Phase 3</h2>
            <div class="aspect-w-16 aspect-h-9">
                <iframe class="w-full h-[500px]" src="https://www.youtube.com/embed/wwe35EyXgmo?si=pgr15wr8aADutKfF" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
            </div>
        </div>
    </section>

    <!-- Related Games -->
    <section class="py-16 bg-gray-50 dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-900 dark:text-gray-200">Related Games</h2>
            <div class="flex flex-wrap gap-4 justify-center">
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunked 2.0 Horror" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunked 2.0 Horror.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunked 2.0 Horror</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki But I Ruined It" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki But I Ruined It.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki But I Ruined It</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Dandy's World Mod" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Dandy's World Mod.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Dandy's World Mod</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Infected" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Infected.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Infected</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Interactive" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Interactive.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Interactive</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Mustard" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Mustard.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Mustard</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Night Time Modded" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Night Time Modded.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Night Time Modded</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Phase 6" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Phase 6.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Phase 6</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Remastered" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Remastered.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Remastered</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Retake" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Retake.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Retake</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Sinner Edition" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Sinner Edition.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Sinner Edition</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Sprinkle" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki Sprinkle.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Sprinkle</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki X Rejecz" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/Sprunki X Rejecz.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki X Rejecz</span>
                </a>
                <a class="flex flex-col items-center w-32" href="#play">
                    <div class="w-32 h-32 relative mb-2">
                        <img alt="Sprunki Shocked" loading="lazy" width="128" height="128" decoding="async" data-nimg="1" class="rounded-lg" style="color:transparent" src="images/sprunki Shocked.webp">
                    </div>
                    <span class="text-center text-gray-600 dark:text-gray-300">Sprunki Shocked</span>
                </a>
            </div>
        </div>
    </section>

    <!-- FAQ Section -->
    <section id="faqs" class="py-16 bg-white dark:bg-gray-800">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-900 dark:text-gray-200">Frequently Asked Questions</h2>
            <div class="space-y-8">
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">What exactly is Sprunki?</h3>
                    <p class="text-gray-600 dark:text-gray-300">Sprunki is a fun, free online beat creation tool that lets you mix quirky sounds and characters to make unique music. It's like Incredibox, but with an extra dose of sprunky madness!</p>
                </div>
                
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">Is Sprunki really free to use?</h3>
                    <p class="text-gray-600 dark:text-gray-300">You bet! Sprunki is 100% free to play and enjoy. No hidden costs, just pure sprunky fun.</p>
                </div>
                
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">What platforms can I use Sprunki on?</h3>
                    <p class="text-gray-600 dark:text-gray-300">Sprunki works on most modern web browsers. Whether you're on a computer, tablet, or smartphone, you can get sprunky anywhere!</p>
                </div>
                
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">How do I save my Sprunki creations?</h3>
                    <p class="text-gray-600 dark:text-gray-300">Once you've made a beat you love, just hit the 'Save' button. You can then download your creation or share it directly with the Sprunki community.</p>
                </div>
                
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">Are there different modes in Sprunki?</h3>
                    <p class="text-gray-600 dark:text-gray-300">Absolutely! We've got several sprunky modes like Classic, Disco Fever, Space Odyssey, and Time Warp. Each offers unique characters and sounds to keep things fresh.</p>
                </div>
                
                <div class="bg-gray-50 dark:bg-gray-700 rounded-lg p-6">
                    <h3 class="text-xl font-semibold mb-3 text-gray-900 dark:text-gray-200">Can I collaborate with others on Sprunki?</h3>
                    <p class="text-gray-600 dark:text-gray-300">While direct collaboration isn't available yet, you can share your creations and get inspired by other sprunky beats in our community gallery. Stay tuned for more social features!</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white py-12">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-xl font-bold mb-4">Sprunki Phase 3</h3>
                    <p class="text-gray-400">Experience the joy of interactive music creation.</p>
                </div>
                <div>
                    <h3 class="text-xl font-bold mb-4">Quick Links</h3>
                    <ul class="space-y-2">
                        <li><a href="about.html" class="text-gray-400 hover:text-white">About</a></li>
                        <li><a href="blog.html" class="text-gray-400 hover:text-white">Blog</a></li>
                        <li><a href="contact.html" class="text-gray-400 hover:text-white">Contact</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-xl font-bold mb-4">Legal</h3>
                    <ul class="space-y-2">
                        <li><a href="privacy-policy.html" class="text-gray-400 hover:text-white">Privacy Policy</a></li>
                        <li><a href="terms-of-service.html" class="text-gray-400 hover:text-white">Terms of Service</a></li>
                        <li><a href="cookie-policy.html" class="text-gray-400 hover:text-white">Cookie Policy</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-xl font-bold mb-4">Connect</h3>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook"></i></a>
                        <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
                    </div>
                </div>
            </div>
            <div class="mt-8 pt-8 border-t border-gray-700 text-center">
                <p class="text-gray-400">&copy; 2024 Sprunki Phase 3. All rights reserved.</p>
            </div>
        </div>
    </footer>

    <script>
        // Theme toggle functionality
        const themeToggleDarkIcon = document.getElementById('theme-toggle-dark-icon');
        const themeToggleLightIcon = document.getElementById('theme-toggle-light-icon');

        // Change the icons inside the button based on previous settings
        if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
            themeToggleLightIcon.classList.remove('hidden');
            document.documentElement.classList.add('dark');
        } else {
            themeToggleDarkIcon.classList.remove('hidden');
            document.documentElement.classList.remove('dark');
        }

        const themeToggleBtn = document.getElementById('theme-toggle');
        themeToggleBtn.addEventListener('click', function() {
            // Toggle icons
            themeToggleDarkIcon.classList.toggle('hidden');
            themeToggleLightIcon.classList.toggle('hidden');

            // If is set in localStorage
            if (localStorage.getItem('color-theme')) {
                if (localStorage.getItem('color-theme') === 'light') {
                    document.documentElement.classList.add('dark');
                    localStorage.setItem('color-theme', 'dark');
                } else {
                    document.documentElement.classList.remove('dark');
                    localStorage.setItem('color-theme', 'light');
                }
            } else {
                if (document.documentElement.classList.contains('dark')) {
                    document.documentElement.classList.remove('dark');
                    localStorage.setItem('color-theme', 'light');
                } else {
                    document.documentElement.classList.add('dark');
                    localStorage.setItem('color-theme', 'dark');
                }
            }
        });

        function toggleFullscreen() {
            const iframe = document.getElementById('game-iframe');
            if (!document.fullscreenElement) {
                iframe.requestFullscreen().catch(err => {
                    alert(`Error attempting to enable fullscreen: ${err.message}`);
                });
            } else {
                document.exitFullscreen();
            }
        }

        function toggleMobileMenu() {
            const mobileMenu = document.getElementById('mobile-menu');
            mobileMenu.classList.toggle('hidden');
        }

        // Language switcher functionality
        const languageSwitcher = document.getElementById('language-switcher');
        const languageDropdown = document.getElementById('language-dropdown');

        languageSwitcher.addEventListener('click', () => {
            languageDropdown.classList.toggle('hidden');
        });

        // Close dropdown when clicking outside
        document.addEventListener('click', (event) => {
            if (!languageSwitcher.contains(event.target)) {
                languageDropdown.classList.add('hidden');
            }
        });

        // Update current language display
        function updateCurrentLanguage() {
            const currentPath = window.location.pathname;
            const langMatch = currentPath.match(/\/lang\/([^/]+)/);
            if (langMatch) {
                const currentLang = langMatch[1];
                const langButton = document.querySelector(`#language-dropdown a[href="/lang/${currentLang}"]`);
                if (langButton) {
                    const flagIcon = langButton.querySelector('.flag-icon').cloneNode(true);
                    const langText = langButton.querySelector('span:not(.flag-icon)').textContent;
                    
                    languageSwitcher.querySelector('.flag-icon')?.remove();
                    languageSwitcher.insertBefore(flagIcon, languageSwitcher.firstChild);
                    languageSwitcher.querySelector('span:not(.flag-icon)').textContent = langText;
                }
            }
        }

        // Call on page load
        updateCurrentLanguage();
    </script>
    <script src="js/cookie-manager.js"></script>
</body>
</html>
